import os

from autil.csv_util import CSV
from autil.db_util import DB

if __name__ == '__main__':
    sql = '''
    '''
    csv_name = ''''''

    db = DB().db2_connect()
    rnt = db.get_export(db.get(sql))
    print(len(rnt))
    CSV.save(rnt, csv_name)

    os.system("explorer .")
